Fix result summary reporter initialization - #81
Conversation
📝 WalkthroughWalkthroughThe PR introduces a test results summary reporter initialization mechanism in the scheduled test execution pipeline, bumps versions to 1.5.2, updates related documentation clarifying .csx script restrictions, and includes corresponding test updates with new test coverage for reporter initialization sequencing. Changes
Sequence Diagram(s)sequenceDiagram
participant Client
participant ExecuteScheduledTestsStep as ExecuteScheduledTestsStep
participant TestResultsSummaryReporter
participant ITestScheduler
participant ITester
Client->>ExecuteScheduledTestsStep: Execute()
ExecuteScheduledTestsStep->>TestResultsSummaryReporter: Initialize()
rect rgba(200, 150, 255, 0.5)
note over TestResultsSummaryReporter: Check _started flag<br/>If already started, return early
TestResultsSummaryReporter->>TestResultsSummaryReporter: Create & Start Summary<br/>Set _started = true
end
loop For each scheduled test
ExecuteScheduledTestsStep->>ITestScheduler: DequeueScheduledTest()
ITestScheduler-->>ExecuteScheduledTestsStep: Test
ExecuteScheduledTestsStep->>ITester: ExecuteOrSkipTest(test, testCase)
ITester->>ITester: Execute test
end
ExecuteScheduledTestsStep-->>Client: Tests executed
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~25 minutes Possibly related PRs
Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 2 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Problem: Test scenarios that contained scheduled tests and did not contain a test file had problems with initializing the summary results reporter.
Fix: Add initialization of result summary reporter into execution of scheduling tests
Summary by CodeRabbit
Bug Fixes
Documentation
Chores
✏️ Tip: You can customize this high-level summary in your review settings.